#include<stdio.h>
#include<conio.h>
void main()
{
   float a=5,b=1.2,c=12.34,d=12.345;
   clrscr();
   printf("1234567890\n");//dung de dem do rong can in ra
   printf("%f\n",a);
   printf("%6f\n",a);
   printf("%f\n",b);
   printf("%6f\n",b);
   printf("%6.2f\n",a);
   printf("%6.2f\n",b);
   printf("%6.2f\n",c);
   printf("%6.2f\n",d);
   printf("%.2f\n",a);
   printf("%.2f\n",b);
   printf("%.1f\n",c);
   printf("%-5d.2f %-6.1f\n",b,c);
   getch();
}